listbase: Increase the autoscroll threshold
authorMatthias Clasen <mclasen@redhat.com>
Fri, 19 Jun 2020 12:19:34 +0000 (08:19 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 19 Jun 2020 19:26:10 +0000 (15:26 -0400)
With autoscroll during DND, we stop when you hit the edge
of the widget, so a larger threshold makes sense to avoid
hitting the edge by accident.

gtk/gtklistbase.c

index 4698682db1a38f13eb6a2190653fe6d0f0433b7c..5e2eb3fb39c19dc349b067d8c32d4c618a499bbd 100644 (file)
@@ -1296,7 +1296,7 @@ remove_autoscroll (GtkListBase *self)
     }
 }
 
-#define SCROLL_EDGE_SIZE 15
+#define SCROLL_EDGE_SIZE 30
 
 static void
 update_autoscroll (GtkListBase *self,